home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / hardware / 386id / cmos.inc < prev    next >
Encoding:
Text File  |  1994-02-22  |  783 b   |  24 lines

  1. ;
  2. ; CMOS.INC
  3. ;
  4. ; CMOS equates
  5. ;
  6.  
  7. ; To enable NMI,  write to the command port @CMOS_ENANMI
  8. ; To disable NMI, write to the command port @CMOS_DISNMI
  9. ; Be sure to read from @CMOS_DATA afterwards to complete the cycle
  10. ; The low-order seven bits of the byte select a CMOS register
  11.  
  12. @CMOS_CMD    equ 70h        ; Command register
  13. @CMOS_DATA   equ 71h        ; Data register
  14.  
  15. @CMOS_NMIOFF equ 80h        ; Disable NMI
  16. @CMOS_SHUT   equ 0Fh        ; Register to access shutdown byte
  17. @CMOS_ENANMI equ 0Dh        ; Register to enable  NMI
  18. @CMOS_DISNMI equ @CMOS_ENANMI or @CMOS_NMIOFF ; Register to disable NMI
  19. @CMOS_EXTLO  equ 17h        ; Extended memory size, low byte
  20. @CMOS_EXTHI  equ 18h        ; ...            high ...
  21. @CMOS_CHKHI  equ 2Eh        ; Extended memory size, high byte
  22. @CMOS_CHKLO  equ 2Fh        ; ...            low ...
  23.  
  24.